package com.jinly.ryder.manage.service;

import com.jinly.ryder.manage.service.model.DeployGroup;
import com.jinly.ryder.manage.service.model.DeployStatus;

import java.util.List;

public interface DeployGroupService {

    void changeDeployStatus(Integer deployGroupId, DeployStatus deployStatus, Long applyId);

    List<DeployGroup> list(String appName);

    void save(DeployGroup deployGroup);

    DeployGroup get(Integer deployGroupId);

    DeployGroup get(String appName, String deployGroupName);

    void deleteGroup(Integer deployGroupId);
}
